package com.service.wmt.impl;

import com.dao.HouseDao;
import com.entity.House;
import com.service.wmt.HouseService;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import javax.annotation.Resource;
@Service
@Transactional
public class HouseServiceImpl implements HouseService {
    @Resource
    private HouseDao houseDao;
    @Override
    public Integer insert(House house) {
        Integer i =houseDao.insert(house);
        return i;
    }
}
